import { StrictMode } from "react";
import { createRoot } from "react-dom/client";
import "@/assets/css/reset.css";
import "@/assets/font/font.css";
import "@/assets/iconfont/index.css";
import "@/index.css";
import App from "@/App.jsx";
import AuthRoute from "@/router/AuthRoute";
import { BrowserRouter } from "react-router-dom";
import { ConfigProvider } from "antd";

createRoot(document.getElementById("root")).render(
  <ConfigProvider
    theme={{
      token: {
        borderRadius: 0,
        fontFamily: "VIVO1",
      },
    }}
  >
    <BrowserRouter>
      <AuthRoute>
        {/* {"注册路由 "} */}
        <App />
      </AuthRoute>
    </BrowserRouter>
  </ConfigProvider>
);
